import request from '@/router/axios';
export const getStoreDetail = () => {
	return request({
		url: '/base/sellerStore/editStoreManage',
		method: 'post',
		meta: {
			isSerialize: true,
		},
		data: {}
	})
}
export const update = (row) => {
	return request({
		url: '/base/sellerStore/saveStoreRegisterParam',
		method: 'post',
		meta: {
			isSerialize: true,
		},
		data: row
	})
}
export const getListTree = (row) => {
	return request({
		url: '/base/sellerStore/listTree',
		method: 'post',
		meta: {
			isSerialize: true,
		},
		data: row
	})
}
export const listDicData = () => {
	return request({
		url: '/base/sellerGoodsClass/listDicData',
		method: 'post',
	})
}

//查看当前店铺的状态，看是否可以发布商品
export const testStoreStatus = () => {
	return request({
		url: '/base/sellerGoods/testStoreStatus',
		method: 'post',
	})
}
